package com.fanxuankai.boot.plumelog.web;

import com.fanxuankai.boot.plumelog.service.UserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author fanxuankai
 */
@RestController
@RequestMapping("user")
public class UserController {
    @Resource
    private UserService service;

    @GetMapping("login")
    public void login() {
        service.login();
    }
}
